package com.corticon.dialogs.service;

import java.util.List;

import com.corticon.dialogs.dto.PreviewQuestionDTO;
import com.corticon.dialogs.dto.QuestionDTO;
import com.corticon.dialogs.model.QuestionSet;

/**
 *
 * @author Lifan Yang
 * @since 2008-11-01
 */
public interface QuestionSetService {

    QuestionDTO includeQuestion(Long questionId, Integer maxSequence);

    List<QuestionDTO> searchUnincludedQuestions(String keywords);

    String remove(Long questionSetId);

    boolean removeQuestionsFromSet(Long qsId, Long[] qisIds);

    void saveOrUpdate(QuestionSet questionSet, List<QuestionDTO> questions);

    List<PreviewQuestionDTO> getPreviewQuestionDTOList(QuestionSet questionSet);
}
